home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / dev / mui / MCC_SpeedBar.lha / MCC_SpeedBar / Developer / Autodocs / MCC_SpeedBar.doc
Encoding:
Text File  |  2002-02-06  |  15.2 KB  |  666 lines

  1. TABLE OF CONTENTS
  2.  
  3. SpeedBar.mcc/SpeedBar.mcc
  4. SpeedBar.mcc/MUIA_SpeedBar_BarSpacer
  5. SpeedBar.mcc/MUIA_SpeedBar_Borderless
  6. SpeedBar.mcc/MUIA_SpeedBar_Buttons
  7. SpeedBar.mcc/MUIA_SpeedBar_EnableUnderscore
  8. SpeedBar.mcc/MUIA_SpeedBar_Images
  9. SpeedBar.mcc/MUIA_SpeedBar_Pics
  10. SpeedBar.mcc/MUIA_SpeedBar_PicsDrawer
  11. SpeedBar.mcc/MUIA_SpeedBar_RaisingFrame
  12. SpeedBar.mcc/MUIA_SpeedBar_SameHeight
  13. SpeedBar.mcc/MUIA_SpeedBar_SameWidth
  14. SpeedBar.mcc/MUIA_SpeedBar_SmallImages
  15. SpeedBar.mcc/MUIA_SpeedBar_SpacerIndex
  16. SpeedBar.mcc/MUIA_SpeedBar_Spread
  17. SpeedBar.mcc/MUIA_SpeedBar_Strip
  18. SpeedBar.mcc/MUIA_SpeedBar_StripBrush
  19. SpeedBar.mcc/MUIA_SpeedBar_StripButton
  20. SpeedBar.mcc/MUIA_SpeedBar_StripUnderscore
  21. SpeedBar.mcc/MUIA_SpeedBar_Sunny
  22. SpeedBar.mcc/MUIA_SpeedBar_TextOnly
  23. SpeedBar.mcc/MUIA_SpeedBar_ViewMode
  24. SpeedBar.mcc/MUIA_SpeedBar_UseMouseMove
  25. SpeedBar.mcc/MUIM_SpeedBar_AddButton
  26. SpeedBar.mcc/MUIM_SpeedBar_AddButtonObject
  27. SpeedBar.mcc/MUIM_SpeedBar_AddSpacer
  28. SpeedBar.mcc/MUIM_SpeedBar_Clear
  29. SpeedBar.mcc/MUIM_SpeedBar_DoOnButton
  30. SpeedBar.mcc/MUIM_SpeedBar_GetObject
  31. SpeedBar.mcc/SpeedBar.mcc
  32.  
  33.     SpeedBar#?.#? are copyright 1999-2002 by Simone Tellini
  34.     All Rights Are Reserved.
  35.  
  36.     SpeedBar.mcc and SpeedButton.mcc allow you to easily create toolbars
  37.     similar to those you can see in Windows programs (although you can
  38.     get a standard look as well ;)
  39.  
  40.     SpeedBar.mcc is just a MUIC_Group subclass which should contain only
  41.     a set of SpeedButton objects: if you need it to contain other kinds of
  42.     objects, well, try it... it might work.
  43.  
  44.     These classes can be freely used: all I ask is to receive a registered
  45.     copy of your program if it uses them.
  46.  
  47.     IMPORTANT NOTE
  48.     if you plan to offer the user the chance to change
  49.     the toolbar style on the fly you should *NEVER* cache
  50.     the pointer to single buttons: this means that something
  51.     like this should never be seen in your code:
  52.  
  53.     set(button,MUIA_Disabled,TRUE);
  54.  
  55.     where button is an Object * to a SpeedBar member.
  56.  
  57.     The reason behind this is that some of the style changes
  58.     may cause the bar to destroy and recreate all the buttons
  59.     thus invalidatin all the previous pointers.
  60.  
  61.     But don't worry: you have MUIM_SpeedBar_GetObject and
  62.     MUIM_SpeedBar_DoOnButton to solve the problem.
  63.  
  64.     P.S. Remember that programmers don't write docs... so bear with me
  65.     if some points may result unclear or badly written :)
  66.  
  67.     SpeedBar#?.#? V12 were produced by Alfonso Ranieri <alforan@tin.it>
  68.  
  69. SpeedBar.mcc/MUIA_SpeedBar_BarSpacer
  70.  
  71.     NAME
  72.     MUIA_SpeedBar_BarSpacer -- (V12) BOOL, [ISGN]
  73.  
  74.  
  75.     FUNCTION
  76.     If set to TRUE at init time, the bar will use
  77.     a special bar-spacer. Before V12 the attribute
  78.     is ignored.
  79.  
  80.     Note that till V12.3 the attribute was only
  81.     [I...].
  82.  
  83.     Default FALSE.
  84.  
  85. SpeedBar.mcc/MUIA_SpeedBar_Borderless
  86.  
  87.     NAME
  88.     MUIA_SpeedBar_Borderless -- BOOL, [ISGN]
  89.  
  90.  
  91.     FUNCTION
  92.     Remove the MUI frames from the gadgets.
  93.  
  94.     Note that till V12.1 the attribute was only
  95.     [IS..].
  96.  
  97.     Default FALSE.
  98.  
  99.  
  100.     SEE
  101.     MUIA_SpeedBar_RaisingFrame
  102.  
  103. SpeedBar.mcc/MUIA_SpeedBar_Buttons
  104.  
  105.     NAME
  106.     MUIA_SpeedBar_Buttons -- struct MUIS_SpeedBar_Button *, [I...]
  107.  
  108.  
  109.     FUNCTION
  110.     Specify an array of buttons that should be placed in the bar.
  111.  
  112.     The structure you need to fill consists of these fields:
  113.  
  114.     struct MUIS_SpeedBar_Button
  115.     {
  116.         ULONG           Img;
  117.         STRPTR          Text;
  118.         STRPTR          Help;
  119.         UWORD           Flags;
  120.         struct IClass   *Class;
  121.         Object          *Object;
  122.     };
  123.  
  124.     Img     - is the index of the MyBrush image used by the button.
  125.     Text    - is the button label.
  126.     Help    - is the button short-help (for bubble help)
  127.     Flags   - can be used to set the type of button you need (see
  128.               SpeedBar_mcc.h)
  129.     Class   - if you want to subclass SpeedButton.mcc to add drag'n'drop
  130.               or something place the pointer to your new class here:
  131.               these way SpeedBar will know how to recreate your buttons
  132.               correctly. Otherwise leave it to NULL.
  133.     Object  - this will be filled after the creation of the bar with
  134.               a pointer to the button. Remember not to cache it and
  135.               have a look at Demo.c to see how to reference other
  136.               SpeedBar members correctly.
  137.  
  138.  
  139.     SEE ALSO
  140.     MUIA_SpeedBar_Images
  141.     MUIA_SpeedBar_Pics
  142.     MUIA_SpeedBar_PicDrawer
  143.     MUIA_SpeedBar_Strip
  144.     MUIA_SpeedBar_StripBrush
  145.     MUIA_SpeedBar_StripButtons
  146.  
  147. SpeedBar.mcc/MUIA_SpeedBar_EnableUnderscore
  148.  
  149.     NAME
  150.     MUIA_SpeedBar_EnableUnderscore -- (V12) BOOL, [I...]
  151.  
  152.  
  153.     FUNCTION
  154.     You may specify control chars for each button:
  155.     just prefix the control char with a "_" in
  156.     struct MUIS_SpeedBar_Button/Text .
  157.  
  158.     Before V12 this attribute is ignored.
  159.  
  160.     To be sure to not display trash, do:
  161.  
  162.     ...
  163.     MUIA_SpeedBar_StripUnderscore,  TRUE,
  164.     MUIA_SpeedBar_EnableUnderscore, TRUE,
  165.     ...
  166.  
  167.     So that, If your aplication runs under V12, the
  168.     control chars are used, otherwise the underscores
  169.     are stripped.
  170.  
  171.     Default FALSE.
  172.  
  173.  
  174.     SEE ALSO
  175.     MUIA_SpeedBar_StripUnderscore
  176.  
  177. SpeedBar.mcc/MUIA_SpeedBar_Images
  178.  
  179.     NAME
  180.     MUIA_SpeedBar_Images -- struct MyBrush **, [I.G.]
  181.  
  182.  
  183.     FUNCTION
  184.     Specify the images which will be used by the buttons of the bar.
  185.  
  186.     The order how the images are derived is:
  187.  
  188.     1. MUIA_SpeedBar_Images
  189.     2. MUIA_SpeedBar_StripBrush
  190.     3. MUIA_SpeedBar_Strip
  191.     4. MUIA_SpeedBar_Pics
  192.  
  193.  
  194.     SEE ALSO
  195.     MUIA_SpeedBar_Pics
  196.     MUIA_SpeedBar_PicDrawer
  197.     MUIA_SpeedBar_Strip
  198.     MUIA_SpeedBar_StripBrush
  199.     MUIA_SpeedBar_StripButtons
  200.  
  201. SpeedBar.mcc/MUIA_SpeedBar_Pics
  202.  
  203.     NAME
  204.     MUIA_SpeedBar_Pics -- (V12) STRPTR *, [I...]
  205.  
  206.  
  207.     FUNCTION
  208.     Specify the images that will be used by the buttons of the bar.
  209.  
  210.     While with MUIA_SpeedBar_Images you specify an array of
  211.     struct MyBrush ** , with this attribute you specify a NULL
  212.     terminated array made of the names of the pics the bar will use.
  213.  
  214.     The pics will be load at bar Init time via datatypes.
  215.  
  216.     If a pic can't be load for any reasone, the bar is forced
  217.     to text-only.
  218.  
  219.  
  220.     Again: the order how the images are derived is:
  221.  
  222.     1. MUIA_SpeedBar_Images
  223.     2. MUIA_SpeedBar_StripBrush
  224.     3. MUIA_SpeedBar_Strip
  225.     4. MUIA_SpeedBar_Pics
  226.  
  227.  
  228.     SEE ALSO
  229.     MUIA_SpeedBar_Images
  230.     MUIA_SpeedBar_PicDrawer
  231.     MUIA_SpeedBar_Strip
  232.     MUIA_SpeedBar_StripBrush
  233.     MUIA_SpeedBar_StripButtons
  234.  
  235. SpeedBar.mcc/MUIA_SpeedBar_PicsDrawer
  236.  
  237.     NAME
  238.     MUIA_SpeedBar_PicsDrawer -- (V12) STRPTR, [I...]
  239.  
  240.  
  241.     FUNCTION
  242.     Specify the drawer where the pic-files supplied in
  243.     MUIA_SpeedBar_Pics resides.
  244.  
  245.  
  246.     SEE ALSO
  247.     MUIA_SpeedBar_Images
  248.     MUIA_SpeedBar_Pics
  249.     MUIA_SpeedBar_Strip
  250.     MUIA_SpeedBar_StripBrush
  251.     MUIA_SpeedBar_StripButtons
  252.  
  253. SpeedBar.mcc/MUIA_SpeedBar_RaisingFrame
  254.  
  255.     NAME
  256.     MUIA_SpeedBar_RaisingFrame -- BOOL, [IS..]
  257.  
  258.  
  259.     FUNCTION
  260.     Setting this and MUIA_SpeedBar_Borderless to TRUE will give you
  261.     a toolbar whose buttons will draw a frame around them when you
  262.     move the pointer over them.
  263.  
  264.     Note that till V12.1 the attribute was only
  265.     [IS..].
  266.  
  267.     Default FALSE.
  268.  
  269.  
  270.     SEE ALSO
  271.     MUIA_SpeedBar_Borderless
  272.  
  273. SpeedBar.mcc/MUIA_SpeedBar_SameHeight
  274.  
  275.     NAME
  276.     MUIA_SpeedBar_SameHeight -- BOOL, [I...]
  277.  
  278.  
  279.     FUNCTION
  280.     Set it to FALSE if you don't want all the buttons to have
  281.     the same height. This is only useful if you have a vertical
  282.     toolbar.
  283.  
  284.     Default TRUE.
  285.  
  286.  
  287.     SEE ALSO
  288.     MUIA_SpeedBar_SameWidth
  289.  
  290. SpeedBar.mcc/MUIA_SpeedBar_SameWidth
  291.  
  292.     NAME
  293.     MUIA_SpeedBar_SameWidth -- BOOL, [I...]
  294.  
  295.  
  296.     FUNCTION
  297.     Set it to FALSE if you don't want all the buttons to have
  298.     the same width. This is only useful if you have an horizontal
  299.     toolbar.
  300.  
  301.     Default TRUE.
  302.  
  303.  
  304.     SEE ALSO
  305.     MUIA_SpeedBar_SameHeight
  306.  
  307. SpeedBar.mcc/MUIA_SpeedBar_SmallImages
  308.  
  309.     NAME
  310.     MUIA_SpeedBar_SmallImages -- BOOL [IS..]
  311.  
  312.  
  313.     FUNCTION
  314.     If set to TRUE the images will be scaled according with
  315.     the user preferences.
  316.  
  317.     Note that till V12.1 the attribute was only
  318.     [IS..].
  319.  
  320.     Default FALSE.
  321.  
  322. SpeedBar.mcc/MUIA_SpeedBar_SpacerIndex
  323.  
  324.     NAME
  325.     MUIA_SpeedBar_SpacerIndex -- UWORD, [I.G.]
  326.  
  327.  
  328.     FUNCTION
  329.     If you want an empty spacer object, set this to -1, otherwise
  330.     set it to the index of the images inside the _Images array.
  331.  
  332.     Default 0 !!!.
  333.  
  334.  
  335.     SEE ALSO
  336.     MUIA_SpeedBar_Images
  337.     MUIA_SpeedBar_BarSpacer
  338.  
  339. SpeedBar.mcc/MUIA_SpeedBar_Spread
  340.  
  341.     NAME
  342.     MUIA_SpeedBar_Spread -- BOOL [I...]
  343.  
  344.  
  345.     FUNCTION
  346.     Setting this to TRUE will cause the bar to layout the objects
  347.     evenly, stretching spacer objects. Otherwise the bar will be
  348.     left aligned.
  349.  
  350.     Default FALSE.
  351.  
  352.  
  353.     SEE ALSO
  354.  
  355. SpeedBar.mcc/MUIA_SpeedBar_Strip
  356.  
  357.     NAME
  358.     MUIA_SpeedBar_Strip -- (V12.3) STRPTR [I...]
  359.  
  360.  
  361.     FUNCTION
  362.     Here you my define a picture to load via datatypes
  363.     wich contains all the button image. The single images
  364.     must have all the same size nd must be separated by
  365.     a one pixel column. If for any reason the picture can't
  366.     be load the bar is forced to text only.
  367.     MUIA_SpeedBar_PicDrawer applies as well while loading.
  368.  
  369.     The number of the images to split the picture in is
  370.     derived from:
  371.  
  372.     (1) the number of the buttons specified in
  373.         MUIA_SpeedBar_Buttons (if supplied), spacer not
  374.         included
  375.  
  376.     (2) the value spcedified in MUIA_SpeedBar_StripButtons
  377.         iff it is greater than (1). This lets you
  378.         add buttons later.
  379.  
  380.     Again: the order how the images are derived is:
  381.  
  382.     1. MUIA_SpeedBar_Images
  383.     2. MUIA_SpeedBar_StripBrush
  384.     3. MUIA_SpeedBar_Strip
  385.     4. MUIA_SpeedBar_Pics
  386.  
  387.     SEE ALSO
  388.     MUIA_SpeedBar_Images
  389.     MUIA_SpeedBar_Pics
  390.     MUIA_SpeedBar_PicDrawer
  391.     MUIA_SpeedBar_StripBrush
  392.     MUIA_SpeedBar_StripButtons
  393.  
  394. SpeedBar.mcc/MUIA_SpeedBar_StripBrush
  395.  
  396.     NAME
  397.     MUIA_SpeedBar_StripBrush -- (V12.3) struct MyBrush * [I...]
  398.  
  399.  
  400.     FUNCTION
  401.     Here you my define a picture wich contains all the
  402.     button image. The single images must have all the
  403.     same size nd must be separated by a one pixel column.
  404.     If for any reason the single images can't be created
  405.     bar is forced to text only.
  406.  
  407.     The number of the images to split the picture in is
  408.     derived from:
  409.  
  410.     (1) the number of the buttons specified in
  411.         MUIA_SpeedBar_Buttons (if supplied), spacer not
  412.         included
  413.  
  414.     (2) the value spcedified in MUIA_SpeedBar_StripButtons
  415.         iff it is greater than (1). This lets you
  416.         add buttons later.
  417.  
  418.     Again: the order how the images are derived is:
  419.  
  420.     1. MUIA_SpeedBar_Images
  421.     2. MUIA_SpeedBar_StripBrush
  422.     3. MUIA_SpeedBar_Strip
  423.     4. MUIA_SpeedBar_Pics
  424.  
  425.     SEE ALSO
  426.     MUIA_SpeedBar_Images
  427.     MUIA_SpeedBar_Pics
  428.     MUIA_SpeedBar_PicDrawer
  429.     MUIA_SpeedBar_Strip
  430.     MUIA_SpeedBar_StripButtons
  431.  
  432. SpeedBar.mcc/MUIA_SpeedBar_StripButtons
  433.  
  434.     NAME
  435.     MUIA_SpeedBar_StripButtons -- (V12.3) UWORD [I...]
  436.  
  437.  
  438.     FUNCTION
  439.     Here you my define the number of the buttons to
  440.     split the strip specified in MUIA_SpeedBar_Strip
  441.     or MUIA_SpeedBar_StripBruh. It must be greater than
  442.     the number of the buttons defined in MUIA_SpeedBar_Buttons
  443.     (if supplied), spacer not included.
  444.  
  445.     SEE ALSO
  446.     MUIA_SpeedBar_Images
  447.     MUIA_SpeedBar_Pics
  448.     MUIA_SpeedBar_PicDrawer
  449.     MUIA_SpeedBar_Strip
  450.     MUIA_SpeedBar_StripBrush
  451.  
  452. SpeedBar.mcc/MUIA_SpeedBar_StripUnderscore
  453.  
  454.     NAME
  455.     MUIA_SpeedBar_StripUnderscore -- BOOL [I...]
  456.  
  457.  
  458.     FUNCTION
  459.     Causes the bar to strip underscores from buttons labels.
  460.     Note that this attribute is just ignored if
  461.     MUIA_SpeedBar_EnableUnderscore is set to TRUE.
  462.  
  463.     Default FALSE.
  464.  
  465.  
  466.     SEE ALSO
  467.     MUIA_SpeedBar_EnableUnderscore
  468.  
  469. SpeedBar.mcc/MUIA_SpeedBar_Sunny
  470.  
  471.     NAME
  472.     MUIA_SpeedBar_Sunny -- BOOL [ISGN]
  473.  
  474.  
  475.     FUNCTION
  476.     Do you need buttons a là IE5 (coloured when the mouse is over
  477.     them and grey otherwise)? Set this to TRUE then :)
  478.  
  479.     Note that till V12.1 the attribute was only
  480.     [IS..].
  481.  
  482.     Default FALSE.
  483.  
  484. SpeedBar.mcc/MUIA_SpeedBar_TextOnly
  485.  
  486.     NAME
  487.     MUIA_SpeedBar_TextOnly -- (V12) BOOL [..G.]
  488.  
  489.  
  490.     FUNCTION
  491.     If any of the pics specified in MUIA_SpeedBar_Pics
  492.     can't be load for any reasone, the bar is forced to
  493.     text-only and this attribute is TRUE.
  494.  
  495.  
  496.     SEE ALSO
  497.     MUIA_SpeedBar_Pics
  498.  
  499. SpeedBar.mcc/MUIA_SpeedBar_ViewMode
  500.  
  501.     NAME
  502.     MUIA_SpeedBar_ViewMode -- UWORD [ISGN]
  503.  
  504.  
  505.     FUNCTION
  506.     Set the style of the toolbar.
  507.     The available values are:
  508.         MUIV_SpeedBar_ViewMode_TextGfx (0)
  509.         MUIV_SpeedBar_ViewMode_Gfx     (1)
  510.         MUIV_SpeedBar_ViewMode_Text    (2)
  511.  
  512.     Default MUIV_SpeedBar_ViewMode_TextGfx.
  513.  
  514.     Note that in V12, if you specified MUIA_SpeedBar_Pics and
  515.     any of the pics couldn't be load, MUIA_SpeedBar_TextOnly is
  516.     set to 1 and the bar is forced to text-only, wich means
  517.     that this attribute can't be set.
  518.  
  519.     SEE ALSO
  520.     MUIA_SpeedBar_TextOnly
  521.  
  522. SpeedBar.mcc/MUIA_SpeedBar_UseMouseMove
  523.  
  524.     NAME
  525.     MUIA_SpeedBar_UseMouseMove -- (V12.1) BOOL [I...]
  526.  
  527.  
  528.     FUNCTION
  529.     SpeedBar.mcc <12.0 used IDCMP_MOUSEOBJECT if running on MUI 4.0
  530.     and IDCMP_INTUITICKS otherwise. I (Alfonso) don't have MUI 4.0
  531.     (argggg :-) so SpeedBar >=12 just uses IDCMP_INTUITICKS.
  532.  
  533.     IDCMP_INTUITICKS uses less cpu than IDCMP_MOUSEMOVE
  534.     but IDCMP_MOUSEMOVE has really a better feedback.
  535.  
  536.     Setting this attribute will make the SpeedBar to use
  537.     IDCMP_MOUSEMOVE. Before V12.1 it is ignored.
  538.  
  539.     Default FALSE.
  540.  
  541.     Note that this attribute overwrites the user preferences and
  542.     therefore it should be used sparerly.
  543.  
  544. SpeedBar.mcc/MUIM_SpeedBar_AddButton
  545.  
  546.     NAME
  547.     MUIM_SpeedBar_AddButton
  548.  
  549.  
  550.     SYNOPSIS
  551.     DoMethod(obj,MUIM_SpeedBar_AddButton,speedbar_button);
  552.  
  553.  
  554.     FUNCTION
  555.     Adds a button to the bar.
  556.  
  557.  
  558.     INPUTS
  559.     speedbar_button - pointer to a MUIS_SpeedBar_Button structure
  560.  
  561.  
  562.     RESULT
  563.     Object * to the created button.
  564.  
  565. SpeedBar.mcc/MUIM_SpeedBar_AddButtonObject
  566.  
  567.     NAME
  568.     MUIM_SpeedBar_AddButtonObject
  569.  
  570.  
  571.     SYNOPSIS
  572.     DoMethod(obj,MUIM_SpeedBar_AddButtonObject,button);
  573.  
  574.  
  575.     FUNCTION
  576.     Adds an object to the bar.
  577.  
  578.  
  579.     INPUTS
  580.     Object *button - object you want to add
  581.  
  582.  
  583.     RESULT
  584.     Nothing you should care of
  585.  
  586. SpeedBar.mcc/MUIM_SpeedBar_AddSpacer
  587.  
  588.     NAME
  589.     MUIM_SpeedBar_AddSpacer
  590.  
  591.  
  592.     SYNOPSIS
  593.     DoMethod(obj,MUIM_SpeedBar_AddSpacer);
  594.  
  595.  
  596.     FUNCTION
  597.     Adds a spacer object.
  598.  
  599.  
  600.     RESULT
  601.     Object * to the spacer created.
  602.  
  603. SpeedBar.mcc/MUIM_SpeedBar_Clear
  604.  
  605.     NAME
  606.     MUIM_SpeedBar_Clear
  607.  
  608.  
  609.     SYNOPSIS
  610.     DoMethod(obj,MUIM_SpeedBar_Clear);
  611.  
  612.  
  613.     FUNCTION
  614.     Clears the toolbar.
  615.  
  616. SpeedBar.mcc/MUIM_SpeedBar_DoOnButton
  617.  
  618.     NAME
  619.     MUIM_SpeedBar_DoOnButton
  620.  
  621.  
  622.     SYNOPSIS
  623.     DoMethod(obj,MUIM_SpeedBar_DoOnButton,i,method,...);
  624.  
  625.  
  626.     FUNCTION
  627.     Performs the specified method on the i-th object of the bar.
  628.  
  629.  
  630.     INPUTS
  631.     ULONG i      - index of the object to send the method to
  632.     ULONG method - method to invoke
  633.  
  634.  
  635.     EXAMPLE
  636.  
  637.     DoMethod(buttons[0].Object,MUIM_Notify,MUIA_Selected,FALSE,
  638.         SpeedBar,5,MUIM_SpeedBar_DoOnButton,1,MUIM_Set,MUIA_Selected,FALSE);
  639.  
  640.  
  641.  
  642.     NOTES
  643.     This methods MUST be used if you change the toolbar style
  644.     without destroying and recreating the bar!
  645.  
  646. SpeedBar.mcc/MUIM_SpeedBar_GetObject
  647.  
  648.     NAME
  649.     MUIM_SpeedBar_GetObject
  650.  
  651.  
  652.     SYNOPSIS
  653.     Object *obj = (Object *)DoMethod(bar,MUIM_SpeedBar_GetObject,i);
  654.  
  655.  
  656.     FUNCTION
  657.     Returns a pointer to the object number i in the bar.
  658.  
  659.  
  660.     INPUTS
  661.     ULONG i - index of the object you need
  662.  
  663.  
  664.     RESULT
  665.     Object *obj - the object you need
  666.